namespace EduModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Y_Book
    {
        [Key]
        public int BookId { get; set; }

        public int? BookTypeId { get; set; }

        [StringLength(100)]
        public string BookTitle { get; set; }

        [StringLength(100)]
        public string AuthorName { get; set; }

        [StringLength(100)]
        public string TranName { get; set; }

        [StringLength(100)]
        public string PressName { get; set; }

        [StringLength(500)]
        public string BookImg { get; set; }

        [StringLength(2000)]
        public string Commend { get; set; }

        [StringLength(2000)]
        public string AuthorBrief { get; set; }

        [StringLength(2000)]
        public string ReadGuide { get; set; }

        public int? BookLevel { get; set; }

        public int? BookState { get; set; }

        public int? CreateUserId { get; set; }

        public DateTime? CreateTime { get; set; }

        public int? ComCnt { get; set; }
    }
}
